#include "CDrawCenterCircle.h"

CDrawCenterCircle::CDrawCenterCircle()
{

}

CDrawCenterCircle::~CDrawCenterCircle()
{

}

void CDrawCenterCircle::setCenterPoint(QPoint point)
{
    m_sCenterPoint = point;
}

QPoint CDrawCenterCircle::GetCenterPoint() const
{
    return m_sCenterPoint;
}

void CDrawCenterCircle::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
    this->setZValue(3);
    QPen pen;
    pen.setWidth(3);
    pen.setColor(QColor("#1DE9B6"));
    painter->setPen(pen);
    painter->setBrush(QBrush(QColor(255,255,255)));
    painter->drawEllipse(m_sCenterPoint,150,150);
}

